﻿
    using Chain.BLL;
    using System;
    using System.Data;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public partial class giftlist : Page
    {
     
        private PointGift PointGiftBll = new PointGift();


        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = this.PointGiftBll.GetList(" GiftStockNumber>0 ").Tables[0];
            this.rptGiftlist.DataSource = dt;
            this.rptGiftlist.DataBind();
            if (dt.Rows.Count == 0)
            {
                this.msg.Style.Add("display", "");
            }
        }
    }


